package cn.tedu.circle.admin.content.dao.persist.mapper;

import cn.tedu.circle.admin.content.pojo.entity.Dynamics;
import cn.tedu.circle.admin.content.pojo.vo.DynamicsListItemVO;
import cn.tedu.circle.admin.content.pojo.vo.DynamicsStandardVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface DynamicsMapper extends BaseMapper<Dynamics> {
    List<DynamicsListItemVO> list();
    /**
     * 根据ID获取动态详情
     */
    DynamicsStandardVO getStandardById(Long id);

}
